﻿#ifndef MSPRINTSDK_H
#define MSPRINTSDK_H

typedef int (*SetPrintport)(const char* strPort,int iBaudrate);
typedef int (*SetUsbportauto)();
typedef int (*SetInit)();
typedef int (*SetClean)();
typedef int (*SetClose)();
typedef int (*SetAlignment)(int iAlignment);
typedef int (*SetSizetext)(int iHeight,int iWidth);
typedef int (*SetSizechar)(int iHeight,int iWidth,int iUnderline,int iAsciitype);
typedef int (*SetSizechinese)(int iHeight,int iWidth,int iUnderline,int iChinesetype);
typedef int (*SetLinespace)(int iLinespace);
typedef int (*SetBold)(int iBold);
typedef int (*SetSpacechar)(int iSpace);
typedef int (*SetSpacechinese)(int iChsleftspace,int iChsrightspace);
typedef int (*SetNvbmp)(int iNums,const char* strPath);
typedef int (*SetMarkoffsetcut)(int iOffset);
typedef int (*SetMarkoffsetprint)(int iOffset);
typedef int (*SetLeftmargin)(int iLeftspace);
typedef int (*SetDirection)(int iDirection);
typedef int (*SetItalic)(int iItalic);
typedef int (*SetRotate)(int iRotate);
typedef int (*SetWhitemodel)(int iWhite);

typedef int (*PrintSelfcheck)();
typedef int (*PrintString)(const char* strData, int iImme) ;
typedef int (*PrintFeedline)(int iLine);
typedef int (*PrintCutpaper)(int iMode);
typedef int (*PrintQrcode)(const char* strData,int iLmargin,int iMside,int iRound);
typedef int (*PrintRemainQR)();
typedef int (*PrintQRcode500II)(int iwidth,const char* strData);
typedef int (*Print1Dbar)(int iWidth,int iHeight,int iHrisize,int iHriseat,int iCodetype,const char* strData);
typedef int (*PrintPdf417)(int iDotwidth,int iDotheight,int iDatarows,int iDatacolumns,const char* strData);
typedef int (*PrintDiskbmpfile)(const char* strPath);
typedef int (*PrintNvmbp)(int iNvindex,int iMode);
typedef int (*PrintMarkposition)();
typedef int (*PrintMarkcutpaper)(int iMode);
typedef int (*PrintTransmit)(const char* bCmd,int iLength);
typedef int (*SetPagemode)(int iMode,int Xrange,int Yrange);
typedef int (*PrintPagedata)();
typedef int (*SetPagestartposition)(int Xdot,int Ydot);

typedef int (*GetTransmit)(const char* bCmd,int iLength,char* bRecv,int iRelen);
typedef int (*GetStatus)();

#endif


